package com.wxapp.admin.service.service;

import com.wxapp.admin.api.pojo.vo.login.QLoginVo;
import com.wxapp.common.constant.pojo.vm.ResultVm;
import com.wxapp.common.constant.pojo.vo.UserVo;
import com.wxapp.common.core.filter.except.ThrowMyException;
import jakarta.servlet.http.HttpServletRequest;


/**
 * @author lgl
 */
public interface LoginService {
    /**
     * 登录
     * @param qLoginVo
     * @param request
     * @return
     */
    ResultVm<String> login(QLoginVo qLoginVo, HttpServletRequest request) throws ThrowMyException;
    /**
     * 推出登录
     */
    ResultVm<String> logOff(UserVo userVo);
}
